import { request } from './request';

export function handleGetCates(params) {
    return request({
        url: `/categories`,
        method: 'GET',
        params
    })
}

export function handleAddCate(data) {
    return request({
        url: `/categories`,
        method: 'POST',
        data
    })
}